package com.mezz.bones.im.logic.domain.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 群组信息表
 * </p>
 *
 * @author mezz
 * @since 2025-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "chat_group_info", autoResultMap = true)
@ApiModel(value="ChatGroupInfo对象", description="群组信息表")
public class ChatGroupInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "群组ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "群号")
    private String groupNo;

    @ApiModelProperty(value = "群组名称")
    private String groupName;

    @ApiModelProperty(value = "群组描述")
    private String description;

    @ApiModelProperty(value = "群头像URL")
    private String avatarUrl;

    @ApiModelProperty(value = "成员数量")
    private Integer memberCount;

    @ApiModelProperty(value = "最大成员数量")
    private Integer maxMemberCount;

    @ApiModelProperty(value = "群状态 0:正常 1:解散")
    private Integer status;

    @ApiModelProperty(value = "解散时间")
    private Date dissolveTime;

    @ApiModelProperty(value = "最近聊天时间")
    private Date lastChatTime;

    @ApiModelProperty(value = "创建者ID")
    private String createBy;

    @ApiModelProperty(value = "创建人姓名")
    private String createName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private Date updateBy;

    @ApiModelProperty(value = "更新人姓名")
    private String updateName;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除 0:否 1:是")
    private Integer isDel;


}
